package com.kokomi.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class Order {
    private Long id;

    private String orderNum;

    private BigDecimal totalPrice;

    private Long userId;

    private Integer addressId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer state;
}